package com.example.online_exam_system.dto;

import java.time.LocalDateTime;

/**
 * @author lianglong
 * @create 2021-11-27-14:08
 * @describe 教师注册需要的dto
 */
public class TeacherregDto {
    /**
     * 登录密码
     */
    private String password;
    /**
     * 真实姓名
     */
    private String username;
    /**
     * 注册时间
     */
    private LocalDateTime regtime;
    /**
     * 邮箱账号
     */
    private String mailnumber;

    public TeacherregDto(String password, String username, String mailnumber) {
        this.password = password;
        this.username = username;
        this.mailnumber = mailnumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public LocalDateTime getRegtime() {
        return regtime;
    }

    public void setRegtime(LocalDateTime regtime) {
        this.regtime = regtime;
    }

    public String getMailnumber() {
        return mailnumber;
    }

    public void setMailnumber(String mailnumber) {
        this.mailnumber = mailnumber;
    }


}
